package morning.cat.service;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * @describe: 类描述信息
 * @author: morningcat.zhang
 * @date: 2020/1/6 10:57 AM
 */
@Service
@Primary
@ToString
public class UserService {

	@Getter
	@Setter
	private String name;

	public UserService() {
		System.out.println("UserService 实例化");
	}

	public void sayHello() {
		System.out.println("Hello everyone");
	}
}
